﻿$(document).ready(function(){
	$("#logout").click(function(){
		var decision = confirm("Are you sure you want to logout?");
		if(decision == true){
			if(location.host == "localhost"){
				$(window.location).attr("href","http://"+location.host+"/bootcamp/public/index/logout");
			} else {
				$(window.location).attr("href","http://"+location.host+"/index/logout");
			}
		}
	});
});